package com.hb.B_面向对象.枚举

enum class Code(code:Int) {
    OK(20000),
    ERROR(20001)
}

fun main() {
    println(Code.ERROR)
}